package com.gmall.client.feign;

import com.gmall.common.result.Result;
import com.gmall.model.product.BaseTrademark;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient(value = "service-product",contextId = "TrademarkFeignClient")
public interface TrademarkFeignClient
{

    /**
     *
     * @param id
     * @return
     */
    @GetMapping("admin/product/baseTrademark/get/{id}")
    Result<BaseTrademark> getBaseTrademark(@PathVariable Long id);

}
